package com.logindemo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class ResponseResult<T>{
    private Integer code;
    private String msg;
    private T data;

    public ResponseResult(int i, String msg) {
        this.code = i;
        this.msg = msg;
    }
}
